﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ZedGraph;

namespace erse253_homework
{
    public partial class Histogram : BaseWindowChart
    {
        public Histogram(double[,] histogramdata)
        {
            InitializeComponent();

            double[] x;
            double[] y;
            Chart histogram = new Chart();
            histogram.Histogram(histogramdata, out x, out y, false, false);
            base.GenerateBar(x, y, "Histogram", "Value", "Counts", "Histogram");
        }

    }
}
